<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilsecure: xsecure_plat_rsa.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilsecure
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xsecure__plat__rsa_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xsecure_plat_rsa.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains hardware interface related information for RSA device. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date        Changes
</p>
<hr/>
<p>
5.2   kpt  06/25/23 Initial release
5.3   am   09/28/23 Added wrapper function prototypes for IPCore's RSA APIs
      kpt  12/13/23 Added XSecure_RsaOperationParam
      kpt  12/13/23 Added RSA CRT support for keyunwrap
5.3   ng   01/28/24 Added SDT support
      ng   03/26/24 Fixed header include in SDT flow
      ss   04/05/24 Fixed doxygen warnings
5.4   yog  04/29/24 Fixed doxygen grouping and doxygen warnings.
      kpt  05/26/24 Added support RSA CRT and Expopt operation.
      kpt  06/13/24 Add support for RSA key generation.
      kpt  06/30/24 Added XSECURE_PRIME_FACTOR_MAX_P_SIZE and
                    XSECURE_PRIME_FACTOR_MAX_Q_SIZE
      kal  07/24/24 Code refactoring changes for versal_2ve_2vm</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa_oaep_param.html">XSecure_RsaOaepParam</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input and output parameters for RSA Optimal Asymmetric Encryption Padding scheme.  <a href="struct_x_secure___rsa_oaep_param.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa_key.html">XSecure_RsaKey</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input parameters pointers for RSA.  <a href="struct_x_secure___rsa_key.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gaa653fc0677efc4a466e7f5360dbc2abe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gaa653fc0677efc4a466e7f5360dbc2abe">externC</a>&#160;&#160;&#160;extern</td></tr>
<tr class="memdesc:gaa653fc0677efc4a466e7f5360dbc2abe"><td class="mdescLeft">&#160;</td><td class="mdescRight">For compilation in C++.  <a href="group__xsecure__rsa__server__apis.html#gaa653fc0677efc4a466e7f5360dbc2abe">More...</a><br/></td></tr>
<tr class="separator:gaa653fc0677efc4a466e7f5360dbc2abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef98b03d932368574ec1123184b9a9e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gaef98b03d932368574ec1123184b9a9e4">XSECURE_RSA_KEY_GEN_SIZE_IN_BYTES</a>&#160;&#160;&#160;(<a class="el" href="group__xsecure__rsa__zynqmp__apis.html#ga347aecc336477793453c4d4d7ff4883a">XSECURE_RSA_3072_SIZE_WORDS</a> * 4U)</td></tr>
<tr class="memdesc:gaef98b03d932368574ec1123184b9a9e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">RSA default key size in bytes.  <a href="group__xsecure__rsa__server__apis.html#gaef98b03d932368574ec1123184b9a9e4">More...</a><br/></td></tr>
<tr class="separator:gaef98b03d932368574ec1123184b9a9e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8430c1d49dac67e602bf5d2353391a12"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga8430c1d49dac67e602bf5d2353391a12">XSECURE_RSA_KEY_GEN_SIZE_IN_WORDS</a>&#160;&#160;&#160;(<a class="el" href="group__xsecure__rsa__server__apis.html#gaef98b03d932368574ec1123184b9a9e4">XSECURE_RSA_KEY_GEN_SIZE_IN_BYTES</a> / 4U)</td></tr>
<tr class="memdesc:ga8430c1d49dac67e602bf5d2353391a12"><td class="mdescLeft">&#160;</td><td class="mdescRight">RSA key generation size in words.  <a href="group__xsecure__rsa__server__apis.html#ga8430c1d49dac67e602bf5d2353391a12">More...</a><br/></td></tr>
<tr class="separator:ga8430c1d49dac67e602bf5d2353391a12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7208f94ae70d33d48b34e75b434c0073"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga7208f94ae70d33d48b34e75b434c0073">XSECURE_RSA_MAX_KEY_GEN_SUPPORT</a>&#160;&#160;&#160;(2U)</td></tr>
<tr class="memdesc:ga7208f94ae70d33d48b34e75b434c0073"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum keys that needs to be generated.  <a href="group__xsecure__rsa__server__apis.html#ga7208f94ae70d33d48b34e75b434c0073">More...</a><br/></td></tr>
<tr class="separator:ga7208f94ae70d33d48b34e75b434c0073"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7d26ce58d6af4dd85a0035b344866a6a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga7d26ce58d6af4dd85a0035b344866a6a">XSECURE_RSA_KEY_STATUS_WAIT</a>&#160;&#160;&#160;(1U)</td></tr>
<tr class="memdesc:ga7d26ce58d6af4dd85a0035b344866a6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">RSA key status wait.  <a href="group__xsecure__rsa__server__apis.html#ga7d26ce58d6af4dd85a0035b344866a6a">More...</a><br/></td></tr>
<tr class="separator:ga7d26ce58d6af4dd85a0035b344866a6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga87e50dc58dc742b7bb0a503d9da9010f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga87e50dc58dc742b7bb0a503d9da9010f">XSECURE_RSA_2048_QUANT_SIZE</a>&#160;&#160;&#160;(5U)</td></tr>
<tr class="memdesc:ga87e50dc58dc742b7bb0a503d9da9010f"><td class="mdescLeft">&#160;</td><td class="mdescRight">RSA maximum quant size for 2048 bit key.  <a href="group__xsecure__rsa__server__apis.html#ga87e50dc58dc742b7bb0a503d9da9010f">More...</a><br/></td></tr>
<tr class="separator:ga87e50dc58dc742b7bb0a503d9da9010f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94a80f11f44f1b6bacbfdc15a255f79f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga94a80f11f44f1b6bacbfdc15a255f79f">XSECURE_RSA_3072_QUANT_SIZE</a>&#160;&#160;&#160;(2U)</td></tr>
<tr class="memdesc:ga94a80f11f44f1b6bacbfdc15a255f79f"><td class="mdescLeft">&#160;</td><td class="mdescRight">RSA maximum quant size for 3072 bit key.  <a href="group__xsecure__rsa__server__apis.html#ga94a80f11f44f1b6bacbfdc15a255f79f">More...</a><br/></td></tr>
<tr class="separator:ga94a80f11f44f1b6bacbfdc15a255f79f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5f2670f692577853698a7590066e4448"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga5f2670f692577853698a7590066e4448">XSECURE_RSA_4096_QUANT_SIZE</a>&#160;&#160;&#160;(1U)</td></tr>
<tr class="memdesc:ga5f2670f692577853698a7590066e4448"><td class="mdescLeft">&#160;</td><td class="mdescRight">RSA maximum quant size for 4096 bit key.  <a href="group__xsecure__rsa__server__apis.html#ga5f2670f692577853698a7590066e4448">More...</a><br/></td></tr>
<tr class="separator:ga5f2670f692577853698a7590066e4448"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga792bca395c9fc54f30431664005fb637"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga792bca395c9fc54f30431664005fb637">XSECURE_RSA_PUBLIC_EXPONENT</a>&#160;&#160;&#160;(0x10001U)</td></tr>
<tr class="memdesc:ga792bca395c9fc54f30431664005fb637"><td class="mdescLeft">&#160;</td><td class="mdescRight">RSA public exponent value.  <a href="group__xsecure__rsa__server__apis.html#ga792bca395c9fc54f30431664005fb637">More...</a><br/></td></tr>
<tr class="separator:ga792bca395c9fc54f30431664005fb637"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac68769cb4d2f865843c2e77b2b5c3fbd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gac68769cb4d2f865843c2e77b2b5c3fbd">XSECURE_RSA_PUB_EXP_SIZE</a>&#160;&#160;&#160;(4U)</td></tr>
<tr class="memdesc:gac68769cb4d2f865843c2e77b2b5c3fbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">RSA public exponent size.  <a href="group__xsecure__rsa__server__apis.html#gac68769cb4d2f865843c2e77b2b5c3fbd">More...</a><br/></td></tr>
<tr class="separator:gac68769cb4d2f865843c2e77b2b5c3fbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabef6161746737e2b747db7961bddfe3f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gabef6161746737e2b747db7961bddfe3f">XSECURE_KEY_PAIR_GEN_POLL_INTERVAL</a>&#160;&#160;&#160;(100U)</td></tr>
<tr class="memdesc:gabef6161746737e2b747db7961bddfe3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Key pair generation poll interval.  <a href="group__xsecure__rsa__server__apis.html#gabef6161746737e2b747db7961bddfe3f">More...</a><br/></td></tr>
<tr class="separator:gabef6161746737e2b747db7961bddfe3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga38e1b28752d6069910cf90fb422e9cca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga38e1b28752d6069910cf90fb422e9cca">XSECURE_ECDSA_RSA_SOFT_RESET</a>&#160;&#160;&#160;(0xF1200040U)</td></tr>
<tr class="memdesc:ga38e1b28752d6069910cf90fb422e9cca"><td class="mdescLeft">&#160;</td><td class="mdescRight">ECDSA/RSA soft reset address.  <a href="group__xsecure__rsa__server__apis.html#ga38e1b28752d6069910cf90fb422e9cca">More...</a><br/></td></tr>
<tr class="separator:ga38e1b28752d6069910cf90fb422e9cca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacba3eaa97a1cf39d9022dddcaded8e1b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gacba3eaa97a1cf39d9022dddcaded8e1b">XSECURE_RSA_SIZE_IN_BYTES</a>&#160;&#160;&#160;(512U)</td></tr>
<tr class="memdesc:gacba3eaa97a1cf39d9022dddcaded8e1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">512 bytes for 4096 bit data  <a href="group__xsecure__rsa__server__apis.html#gacba3eaa97a1cf39d9022dddcaded8e1b">More...</a><br/></td></tr>
<tr class="separator:gacba3eaa97a1cf39d9022dddcaded8e1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3889ef0cd21d5b09ffa60be16ce88140"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga3889ef0cd21d5b09ffa60be16ce88140">XSECURE_PRIME_FACTOR_P_SIZE</a>&#160;&#160;&#160;(<a class="el" href="group__xsecure__rsa__server__apis.html#gaef98b03d932368574ec1123184b9a9e4">XSECURE_RSA_KEY_GEN_SIZE_IN_BYTES</a> &gt;&gt; 1U)</td></tr>
<tr class="memdesc:ga3889ef0cd21d5b09ffa60be16ce88140"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of first prime factor(P)  <a href="group__xsecure__rsa__server__apis.html#ga3889ef0cd21d5b09ffa60be16ce88140">More...</a><br/></td></tr>
<tr class="separator:ga3889ef0cd21d5b09ffa60be16ce88140"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaea22c8d9e551a75beb81099592d63ada"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gaea22c8d9e551a75beb81099592d63ada">XSECURE_PRIME_FACTOR_Q_SIZE</a>&#160;&#160;&#160;(<a class="el" href="group__xsecure__rsa__server__apis.html#gaef98b03d932368574ec1123184b9a9e4">XSECURE_RSA_KEY_GEN_SIZE_IN_BYTES</a> &gt;&gt; 1U)</td></tr>
<tr class="memdesc:gaea22c8d9e551a75beb81099592d63ada"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of first prime factor(Q)  <a href="group__xsecure__rsa__server__apis.html#gaea22c8d9e551a75beb81099592d63ada">More...</a><br/></td></tr>
<tr class="separator:gaea22c8d9e551a75beb81099592d63ada"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga127677299bd2c7d46a4cf8941e91ccc3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga127677299bd2c7d46a4cf8941e91ccc3">XSECURE_PRIME_FACTOR_MAX_P_SIZE</a>&#160;&#160;&#160;(<a class="el" href="group__xsecure__rsa__qmode__apis.html#gacba3eaa97a1cf39d9022dddcaded8e1b">XSECURE_RSA_SIZE_IN_BYTES</a> &gt;&gt; 1U)</td></tr>
<tr class="memdesc:ga127677299bd2c7d46a4cf8941e91ccc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">256 bytes size of first prime factor(P)  <a href="group__xsecure__rsa__server__apis.html#ga127677299bd2c7d46a4cf8941e91ccc3">More...</a><br/></td></tr>
<tr class="separator:ga127677299bd2c7d46a4cf8941e91ccc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae905dfaa14a252d9b935b0f5ce8e7583"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gae905dfaa14a252d9b935b0f5ce8e7583">XSECURE_PRIME_FACTOR_MAX_Q_SIZE</a>&#160;&#160;&#160;(<a class="el" href="group__xsecure__rsa__qmode__apis.html#gacba3eaa97a1cf39d9022dddcaded8e1b">XSECURE_RSA_SIZE_IN_BYTES</a> &gt;&gt; 1U)</td></tr>
<tr class="memdesc:gae905dfaa14a252d9b935b0f5ce8e7583"><td class="mdescLeft">&#160;</td><td class="mdescRight">256 bytes size of first prime factor(Q)  <a href="group__xsecure__rsa__server__apis.html#gae905dfaa14a252d9b935b0f5ce8e7583">More...</a><br/></td></tr>
<tr class="separator:gae905dfaa14a252d9b935b0f5ce8e7583"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga24e04211fc631eaf86b412fc9abe7b1c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga24e04211fc631eaf86b412fc9abe7b1c">XSecure_RsaKeyOpState</a> { <a class="el" href="group__xsecure__rsa__server__apis.html#gga24e04211fc631eaf86b412fc9abe7b1cac6ccb393b8497af5e79d534f528abe87">XSECURE_RSA_KEY_DEFAULT_STATE</a> = 0,
<a class="el" href="group__xsecure__rsa__server__apis.html#gga24e04211fc631eaf86b412fc9abe7b1caa55c1eab894644e0f5b3410506fdf043">XSECURE_RSA_KEY_INIT_STATE</a>,
<a class="el" href="group__xsecure__rsa__server__apis.html#gga24e04211fc631eaf86b412fc9abe7b1caf4a0e971bca81263da9108061c8ff7c8">XSECURE_RSA_KEY_GEN_STATE</a>,
<a class="el" href="group__xsecure__rsa__server__apis.html#gga24e04211fc631eaf86b412fc9abe7b1ca217467319e81eb7e6182a65a4a0d26e6">XSECURE_RSA_KEY_READY_STATE</a>
 }</td></tr>
<tr class="separator:ga24e04211fc631eaf86b412fc9abe7b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae6588655f860a271678b5a24946f0aa2"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gae6588655f860a271678b5a24946f0aa2">XSecure_RsaKeyStatus</a> { <a class="el" href="group__xsecure__rsa__server__apis.html#ggae6588655f860a271678b5a24946f0aa2ad9950e80f504bd868c4243acf7840dd8">XSECURE_RSA_KEY_FREE</a> = 0,
<a class="el" href="group__xsecure__rsa__server__apis.html#ggae6588655f860a271678b5a24946f0aa2ac4e3192cdb9e2c4efdc27756aeb4b9a9">XSECURE_RSA_KEY_AVAIL</a>
 }</td></tr>
<tr class="separator:gae6588655f860a271678b5a24946f0aa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gab519747faf9ccf8e016d20e5713838c9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gab519747faf9ccf8e016d20e5713838c9">XSecure_RsaOaepEncrypt</a> (<a class="el" href="struct_x_secure___rsa.html">XSecure_Rsa</a> *InstancePtr, <a class="el" href="struct_x_secure___rsa_oaep_param.html">XSecure_RsaOaepParam</a> *OaepParam)</td></tr>
<tr class="memdesc:gab519747faf9ccf8e016d20e5713838c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function encodes the given message using RSA OAEP and encrypts it.  <a href="group__xsecure__rsa__server__apis.html#gab519747faf9ccf8e016d20e5713838c9">More...</a><br/></td></tr>
<tr class="separator:gab519747faf9ccf8e016d20e5713838c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7fe869dab6a634c2866f9ec26ee8cec0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga7fe869dab6a634c2866f9ec26ee8cec0">XSecure_RsaOaepDecrypt</a> (XSecure_RsaPrivKey *PrivKey, <a class="el" href="struct_x_secure___rsa_oaep_param.html">XSecure_RsaOaepParam</a> *OaepParam)</td></tr>
<tr class="memdesc:ga7fe869dab6a634c2866f9ec26ee8cec0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function decodes the given message and decrypts it using RSA OAEP.  <a href="group__xsecure__rsa__server__apis.html#ga7fe869dab6a634c2866f9ec26ee8cec0">More...</a><br/></td></tr>
<tr class="separator:ga7fe869dab6a634c2866f9ec26ee8cec0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76632037ef8961e99b8b9b210d5f75f1"><td class="memItemLeft" align="right" valign="top">XSecure_RsaPrivKey *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga76632037ef8961e99b8b9b210d5f75f1">XSecure_GetRsaPrivateKey</a> (u32 RsaIdx)</td></tr>
<tr class="memdesc:ga76632037ef8961e99b8b9b210d5f75f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns RSA private key.  <a href="group__xsecure__rsa__server__apis.html#ga76632037ef8961e99b8b9b210d5f75f1">More...</a><br/></td></tr>
<tr class="separator:ga76632037ef8961e99b8b9b210d5f75f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa40ad2688c9e7d2e756a29fa88bfaa27"><td class="memItemLeft" align="right" valign="top">XSecure_RsaPubKey *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gaa40ad2688c9e7d2e756a29fa88bfaa27">XSecure_GetRsaPublicKey</a> (u32 RsaIdx)</td></tr>
<tr class="memdesc:gaa40ad2688c9e7d2e756a29fa88bfaa27"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns RSA public key.  <a href="group__xsecure__rsa__server__apis.html#gaa40ad2688c9e7d2e756a29fa88bfaa27">More...</a><br/></td></tr>
<tr class="separator:gaa40ad2688c9e7d2e756a29fa88bfaa27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabc66468fdd66a559fa567f631fbae91c"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#gabc66468fdd66a559fa567f631fbae91c">XSecure_GetRsaKeyInUseIdx</a> (void)</td></tr>
<tr class="memdesc:gabc66468fdd66a559fa567f631fbae91c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns RSA key inuse index.  <a href="group__xsecure__rsa__server__apis.html#gabc66468fdd66a559fa567f631fbae91c">More...</a><br/></td></tr>
<tr class="separator:gabc66468fdd66a559fa567f631fbae91c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga547d58774dd7e1821688203999e1b5e2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga547d58774dd7e1821688203999e1b5e2">XSecure_RsaDestroyKeyInUse</a> (void)</td></tr>
<tr class="memdesc:ga547d58774dd7e1821688203999e1b5e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function destroys the RSA key in use.  <a href="group__xsecure__rsa__server__apis.html#ga547d58774dd7e1821688203999e1b5e2">More...</a><br/></td></tr>
<tr class="separator:ga547d58774dd7e1821688203999e1b5e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga164469228a4eea6357072fee975418de"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__rsa__server__apis.html#ga164469228a4eea6357072fee975418de">XSecure_AddRsaKeyPairGenerationToScheduler</a> (void)</td></tr>
<tr class="memdesc:ga164469228a4eea6357072fee975418de"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function adds periodic task of generation RSA key pair to scheduler.  <a href="group__xsecure__rsa__server__apis.html#ga164469228a4eea6357072fee975418de">More...</a><br/></td></tr>
<tr class="separator:ga164469228a4eea6357072fee975418de"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
